Skip to content

feat: add compiler controller and integrate with express#37

Merged
salazarsebas merged 1 commit intoScaffoldRust:mainfrom
pushkarm029:compiler
Aug 13, 2025
Merged

feat: add compiler controller and integrate with express#37
salazarsebas merged 1 commit intoScaffoldRust:mainfrom
pushkarm029:compiler

Conversation

@pushkarm029
Copy link
Contributor

  • Introduced a new compiler controller for handling compilation and testing of Rust/Soroban code.
  • Added validation for request bodies and error handling for compilation and test requests.
  • Updated package.json and bun.lock to include @types/cors for type definitions.
  • Refactored index.ts to mount the new compiler controller at the /api endpoint.
  • Enhanced commandExecutor to support optional working directory for command execution.

Closes #24

- Introduced a new compiler controller for handling compilation and testing of Rust/Soroban code.
- Added validation for request bodies and error handling for compilation and test requests.
- Updated package.json and bun.lock to include @types/cors for type definitions.
- Refactored index.ts to mount the new compiler controller at the /api endpoint.
- Enhanced commandExecutor to support optional working directory for command execution.

Signed-off-by: Pushkar Mishra <pushkarmishra029@gmail.com>
@pushkarm029
Copy link
Contributor Author

@salazarsebas please review. thanks

Copy link
Member

@salazarsebas salazarsebas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@salazarsebas salazarsebas merged commit 9cb6a05 into ScaffoldRust:main Aug 13, 2025
1 check passed
@pushkarm029 pushkarm029 deleted the compiler branch August 27, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement compilerController for /api/compile and /api/test Endpoints [backend]

2 participants